﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PCR.Base
{
    public interface ILogger
    {
        void Error(object message);
        void Error(object message, Exception exception);
        void ErrorFormat(string format, params object[] args);

        void Fatal(object message);
        void Fatal(object message, Exception exception);
        
        void Debug(object message);
        void DebugFormat(string format, params object[] args);

        void Info(object message);
        void InfoFormat(string format, params object[] args);

        void Warn(object message);
        void WarnFormat(string format, params object[] args);
    }
    
    public interface ILogManager
    {
         ILogger GetLogger();
         ILogger GetLogger(string key);
         ILogger GetLogger(System.Type type);
    }
}
